package com.zj.healthmanage.service;

import com.github.pagehelper.PageInfo;
import com.zj.healthmanage.entity.PageResult;
import com.zj.healthmanage.entity.QueryPageBean;
import com.zj.healthmanage.pojo.Orderlist;

import java.util.List;
import java.util.Map;

public interface OrderlistService{


    int deleteByPrimaryKey(Integer id);

    int insert(Orderlist record);

    int insertSelective(Orderlist record);

    Orderlist selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Orderlist record);

    int updateByPrimaryKey(Orderlist record);

    PageInfo queryOrderListByPage(Map queryPage);

    void addOrderList(Map orderList, String[] setmealIdList) throws Exception;

    List<Integer> querySetMealIdsById(Integer id);

    void editOrderList(Map orderList, String[] setmealIdList) throws Exception;

    void editOrderStatus(Integer id, String orderStatus);

}
